home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / surfmodl / surfm203.arc / SURFSRC.ARC / DEFINES.INC < prev    next >
Text File  |  1988-02-06  |  4KB  |  82 lines

  1. Definitions file for SURFMODL file -- DEFINES.INC
  2. {
  3. To compile this program, modify the defines below to match your
  4. system, then comment these uncommented lines so that the file will
  5. compile.
  6. }
  7.  
  8. {Definitions for SurfModl program }
  9.  
  10. {Status  Variable      Action when defined                       }
  11.  
  12. {$UNDEF  DEBUG   }   { used if debugging information is required           }
  13. {$UNDEF  MEMRPT  }   { Gives a memory usage report                         }
  14. {$UNDEF  BIGMEM  }   { Used for large memory model                         }
  15. {$UNDEF  NOSHADOW}   { Deletes the code for processing shadows             }
  16. {$UNDEF  ANSICRT }   { Define if ANSI.SYS used instead of IBM specific CRT }
  17. {$UNDEF  USE8087 }   { Define if you wish to use the 8087 chip             }
  18.  
  19. { Defines for linking Borland's .BGI files into your .EXE file   }
  20. {$UNDEF  LINKATT }   { Links AT&T graphics driver into memory    }
  21. {$UNDEF  LINKCGA }   { Links CGA graphics driver into memory     }
  22. {$UNDEF  LINKEGAVGA} { Links EGAVGA graphics driver into memory  }
  23. {$UNDEF  LINKPC3270} { Links PC3270 graphics driver into memory  }
  24. {$UNDEF  LINKHERC}   { Links HERCULES graphics driver into memory}
  25.  
  26. {Defines for Optionally supported devices (NON .BGI routines     }
  27. {$UNDEF  VAXMATE }   { Digital Vaxmate with 640x400x4 resolution }
  28.  
  29. {***********  End of User Modifyable Defines ********************}
  30.  
  31. {NOTES:                                                          }
  32. {      The VAXMATE is included for demonstration purposes only.  }
  33. {do not count on it being included as system "11" (see SURFGRAF) }
  34. {in future versions.  You get better results if you use the AT&T }
  35. {.BGI file, along with the included "EmulATT" program, which     }
  36. {makes a VAXmate emulate the AT&T hires mode.                    }
  37. {                                                                }
  38. {If you have a Colour VAXmate computer, then you may wish to use }
  39. {the DEFINE above because it (partially) supports the 640x400x4  }
  40. {4 colour mode.                                                  }
  41.  
  42. {******************** Turbo Defined Directives ******************}
  43. {The following directives are defined by Turbo Pascal, based on  }
  44. {defines the programmer set above.  You should not change these  }
  45. {defines.                                                        }
  46.  
  47. {$UNDEF EXTERNAL}  { This is defined if NON-BGI graphics are used}
  48. {$IFDEF VAXMATE}   { External VAXMATE driver used                }
  49.   {$DEFINE EXTERNAL}
  50. {$ENDIF}
  51. {If you create your own external driver (sanyo, hp, etc.) add a  }
  52. {similar define to the VAXmate here.                             }
  53.  
  54. {Turn off debugging code if BIGMEM used, because resulting code would be }
  55. {too big for one 64K code segment.  Use of more units would fix this.    }
  56. {$IFDEF BIGMEM}
  57. {$UNDEF DEBUG}
  58. {$ENDIF}
  59.  
  60. {$IFDEF DEBUG} { Set the Debugging compiler directives}
  61.   {$R+}   {Range checking on}
  62.   {$D+}   {Debugging on}
  63.   {$T+}   {Turbo Map file on}
  64.   {$V+}   {Strict VAR checking on}
  65. {$ELSE} { No debugging compiler directives }
  66.   {$R-}   {Range checking off}
  67.   {$D-}   {Debugging off}
  68.   {$T-}   {Turbo Map file off}
  69.   {$V-}   {Strict VAR checking off}
  70. {$ENDIF}
  71.  
  72. { Compiler directives always in effect}
  73. {$S+}   {Stack checking on}
  74. {$I+}   {I/O checking on}
  75. {$F-}   {Don't force far calls}
  76. {$B-}   {Boolean evaluation Short Circuit}
  77. {$L-}   {Link on disk}
  78. {$M 64000,0,655360 } {Stack, Low Heap, High Heap}
  79.  
  80. {$IFDEF USE8087} {directives specific to the 80x87 chip}
  81. {$N+}   {Use numeric coprocessor}
  82. {$ENDIF}